﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace WindowsGame1
{
    public abstract class Object 
    {
        public Vector2[] textVector;
        public Vector2 coord = new Vector2(0,0);
        public Texture2D sprite;
        public MainScreen m_MainScreen;

        public Object()
        {

        }

        ~Object()
        {

        }

        public virtual void Dispose()
        {

        }

        /// 
        /// <param name="poz_y"></param>
        /// <param name="poz_x"></param>
        public virtual void DrawObject(SpriteBatch spriteBatch, Texture2D sprite)
        {
            
            spriteBatch.Begin();
            spriteBatch.Draw(sprite, coord, Color.White);
            spriteBatch.End();
        }

        /// 
        /// <param name="nowe_x"></param>
        /// <param name="nowe_y"></param>
        public virtual void MoveObject(int nowe_x, int nowe_y)
        {

        }

        public virtual void ShowInfo(GraphicsDevice graphicsDevice, SpriteBatch spriteBatch, SpriteFont font)
        {

        }

    }
}
